package cn.edu.scujcc.dpl;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.ImageView;

import androidx.appcompat.app.AppCompatActivity;

public class createActivity extends AppCompatActivity {
        @Override
        protected void onCreate(Bundle savedInstanceState) {
                super.onCreate(savedInstanceState);
                setContentView(R.layout.creater);
                ImageView btnp = findViewById(R.id.return_btn);
                btnp.setOnClickListener(new View.OnClickListener() {
                        @Override
                        public void onClick(View v){
                                Intent it = new Intent();
                                it.setClass(createActivity.this,MainActivity.class);
                                startActivity(it);
                        }
                });
                ImageView btn = findViewById(R.id.creater_btn);
                btn.setOnClickListener(new View.OnClickListener() {
                        @Override
                        public void onClick(View v){
                                Intent it = new Intent();
                                it.setClass(createActivity.this,Trackdebugging.class);
                                startActivity(it);
                        }
                });
        }
}
